#!/usr/bin/env bash

cd `dirname $0`
nginx -p `pwd`/ -s stop

# nginx -s reload

# clean up
rm -rf client_body_temp
rm -rf fastcgi_temp
rm -f logs/*
rm -rf proxy_temp
rm -rf scgi_temp
rm -rf uwsgi_temp